.class public Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;
.implements Lcom/waiqin365/lightapp/syorder/product/a/k;


# instance fields
.field private A:Z

.field private B:Lcom/waiqin365/lightapp/syorder/view/p;

.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ListView;

.field private e:Lcom/waiqin365/lightapp/syorder/product/a/a;

.field private f:Ljava/util/List;

.field private g:Lcom/waiqin365/compons/view/c;

.field private h:Lcom/waiqin365/compons/view/c;

.field private i:Lcom/waiqin365/compons/view/c;

.field private j:Lcom/waiqin365/lightapp/syorder/d/b;

.field private k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

.field private l:Landroid/widget/Button;

.field private m:Landroid/view/View;

.field private n:Landroid/view/View;

.field private o:Landroid/view/View;

.field private p:Z

.field private q:Z

.field private r:Landroid/view/View;

.field private s:Landroid/view/View;

.field private t:Landroid/view/View;

.field private u:Landroid/view/View;

.field private v:Landroid/view/View;

.field private w:Landroid/view/View;

.field private x:Landroid/view/View;

.field private y:Landroid/view/View;

.field private z:Lcom/waiqin365/lightapp/syorder/aq;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->q:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->A:Z

    new-instance v0, Lcom/waiqin365/lightapp/syorder/n;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/n;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->B:Lcom/waiqin365/lightapp/syorder/view/p;

    return-void
.end method

.method private a()V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/a/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/product/a/a;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/syorder/product/a/a;->a(Lcom/waiqin365/lightapp/syorder/product/a/k;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/i;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/a;->a(Lcom/waiqin365/lightapp/syorder/product/a/j;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/ap;->a(Lcom/waiqin365/lightapp/kehu/b/am;)V

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c()V

    return-void

    :cond_0
    const-string/jumbo v0, "\u83b7\u53d6\u9ad8\u7ea7\u62dc\u8bbf\u53c2\u6570\u5931\u8d25\uff01"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->showToast(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->back()V

    goto :goto_0

    :cond_1
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :cond_2
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->e()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c()V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 4

    const/4 v2, 0x0

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/syorder/product/SyProductSelectActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/syorder/product/b/a;-><init>()V

    iput-boolean v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->h:Z

    iput-boolean v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->i:Z

    iput-object p1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    const/4 v2, 0x1

    iput-boolean v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->a:Z

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    new-instance v2, Lcom/waiqin365/lightapp/syorder/product/b/b;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/syorder/product/b/b;-><init>()V

    iput-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v3

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightapp/syorder/product/b/b;->e:Ljava/lang/String;

    const-string/jumbo v2, "param"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x457

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->m:Landroid/view/View;

    return-object v0
.end method

.method private b()V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/a;->notifyDataSetChanged()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->v:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->w:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->v:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->w:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->s:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->r:Landroid/view/View;

    return-object v0
.end method

.method private c()V
    .locals 7

    const/4 v6, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u00a5"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/syorder/ap;->b()D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x2

    invoke-static {v2, v3, v6}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    const-string/jumbo v1, "\u5207\u6362\u5ba2\u6237\u5c06\u6e05\u7a7a\u5df2\u9009\u5546\u54c1\uff0c\u662f\u5426\u7ee7\u7eed\u5207\u6362\uff1f"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->B:Lcom/waiqin365/lightapp/syorder/view/p;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/syorder/view/p;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->l:Landroid/widget/Button;

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->l:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u4e0b\u5355("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->B:Lcom/waiqin365/lightapp/syorder/view/p;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/syorder/view/p;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->l:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->l:Landroid/widget/Button;

    const-string/jumbo v1, "\u4e0b\u5355"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->o:Landroid/view/View;

    return-object v0
.end method

.method private d()V
    .locals 12

    const v11, 0x7f0c0066

    const v10, 0x7f0806b1

    const/4 v9, 0x0

    const v0, 0x7f0c0940

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->r:Landroid/view/View;

    const v0, 0x7f0c0942

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0944

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->b:Landroid/widget/TextView;

    const v0, 0x7f0c050f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->l:Landroid/widget/Button;

    const v0, 0x7f0c0511

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->o:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->mContext:Landroid/content/Context;

    const v1, 0x7f030254

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0505

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->s:Landroid/view/View;

    const v0, 0x7f0c0506

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->t:Landroid/view/View;

    const v0, 0x7f0c0507

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->u:Landroid/view/View;

    const v0, 0x7f0c0503

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->v:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->w:Landroid/view/View;

    const v0, 0x7f0c0512

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->x:Landroid/view/View;

    const v0, 0x7f0c0513

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->y:Landroid/view/View;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v2, 0x7f09002f

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    int-to-float v2, v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f09002a

    invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    int-to-float v3, v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v4, 0x7f09002b

    invoke-virtual {v0, v4}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    int-to-float v4, v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f09002e

    invoke-virtual {v0, v5}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v5

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v6, 0x7f09002c

    invoke-virtual {v0, v6}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v6

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v7, 0x7f09002d

    invoke-virtual {v0, v7}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v7

    const v0, 0x7f0c0913

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    const-string/jumbo v8, "1"

    invoke-virtual {v0, v8}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    const-string/jumbo v8, "\u5ba2\u6237\u540d\u79f0"

    invoke-virtual {v0, v8}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setTitleSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setContentSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setLabelWidth(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v9, v5, v7, v6}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setPadding(IIII)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "seniorVisitId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->A:Z

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setEnabled(Z)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    new-instance v2, Lcom/waiqin365/lightapp/syorder/j;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/syorder/j;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/syorder/view/o;)V

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->n:Landroid/view/View;

    const v0, 0x7f0c0502

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->m:Landroid/view/View;

    const v0, 0x7f0c050e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0510

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v9}, Landroid/widget/ListView;->setHeaderDividersEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/k;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/k;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v10}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080246

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    move-object v1, p0

    move-object v5, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v10}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f0806cf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/syorder/l;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/syorder/l;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "\u9009\u62e9\u5ba2\u6237"

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/compons/view/c;->a(II)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, ""

    sget v2, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v3, Lcom/waiqin365/lightapp/syorder/m;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/syorder/m;-><init>(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    return-void

    :cond_2
    const-string/jumbo v0, "\u82cf\u76d0\u9500\u552e\u8ba2\u5355"

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    return-object v0
.end method

.method private e()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0949

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->t:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->v:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->x:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->u:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->w:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->y:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private f()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->b()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->f()V

    :cond_0
    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c()V

    return-void

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g()V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private g()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/syorder/d/b;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->j:Lcom/waiqin365/lightapp/syorder/d/b;

    return-void
.end method

.method public back()V
    .locals 2

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f08060a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 8

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "selectedList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_3

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-wide v4, v1, Lcom/waiqin365/lightapp/syorder/d/b;->i:D

    const-wide/16 v6, 0x0

    cmpl-double v3, v4, v6

    if-nez v3, :cond_1

    iget-wide v4, v1, Lcom/waiqin365/lightapp/syorder/d/b;->D:D

    iput-wide v4, v1, Lcom/waiqin365/lightapp/syorder/d/b;->i:D

    goto :goto_1

    :cond_2
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/ap;->f()V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/ap;->a(Ljava/util/List;)V

    :cond_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f()V

    goto :goto_0

    :sswitch_1
    if-eqz p3, :cond_0

    const-string/jumbo v0, "qrResult"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "result"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_2
    if-eqz p3, :cond_0

    const-string/jumbo v0, "product"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/d/b;

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->v:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/ap;->a(Lcom/waiqin365/lightapp/syorder/d/b;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/a;->notifyDataSetChanged()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x123 -> :sswitch_1
        0x3ea -> :sswitch_2
        0x457 -> :sswitch_0
    .end sparse-switch
.end method

.method public onBackPressed()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "\u8d2d\u7269\u8f66\u4e2d\u8fd8\u6ca1\u6709\u5546\u54c1!"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e:Lcom/waiqin365/lightapp/syorder/product/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/a;->a()Lcom/waiqin365/lightapp/b/a;

    move-result-object v0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/b/a;->b:Z

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->showToast(Ljava/lang/String;)V

    :cond_2
    iget-boolean v0, v0, Lcom/waiqin365/lightapp/b/a;->a:Z

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-eqz v0, :cond_4

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "order"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string/jumbo v2, "order"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "order"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    :cond_3
    const-string/jumbo v2, "isModify"

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->A:Z

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    const-string/jumbo v2, "customer"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isSeniorVisit"

    iget-boolean v2, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "seniorVisitId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v0, "\u8bf7\u9009\u62e9\u5ba2\u6237"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->showToast(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->j:Lcom/waiqin365/lightapp/syorder/d/b;

    if-eqz v0, :cond_5

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->j:Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/d/b;->v:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/ap;->a(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->c()V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    :sswitch_4
    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_5
    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ap;->c()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_6
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/base/qr/OrderCaptureActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/16 v1, 0x123

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0064 -> :sswitch_3
        0x7f0c0066 -> :sswitch_2
        0x7f0c0503 -> :sswitch_5
        0x7f0c0504 -> :sswitch_4
        0x7f0c0506 -> :sswitch_5
        0x7f0c0507 -> :sswitch_4
        0x7f0c050f -> :sswitch_1
        0x7f0c0512 -> :sswitch_5
        0x7f0c0513 -> :sswitch_4
        0x7f0c0942 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    const/4 v2, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030253

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->setContentView(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/ao;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/syorder/ao;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/ao;->f()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "modify"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->A:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->p:Z

    if-eqz v0, :cond_0

    sget-object v0, Lcom/waiqin365/lightapp/syorder/aq;->a:Lcom/waiqin365/lightapp/syorder/aq;

    :goto_0
    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->z:Lcom/waiqin365/lightapp/syorder/aq;

    const v0, 0x7f0c094b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->f()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_0
    sget-object v0, Lcom/waiqin365/lightapp/syorder/aq;->b:Lcom/waiqin365/lightapp/syorder/aq;

    goto :goto_0
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->q:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->k:Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/view/SyCustomerSelectView;->b(Z)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/SyOrderCartActivity;->q:Z

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    return-void
.end method
